package com.ruoyi.business.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.business.domain.Beds;
import com.ruoyi.business.domain.Dormitory;
import com.ruoyi.business.domain.model.dormitoryAppTree;
import com.ruoyi.business.mapper.BedsPlusMapper;
import com.ruoyi.business.mapper.DormitoryPlusMapper;
import com.ruoyi.business.mapper.EmployeePlusMapper;
import com.ruoyi.business.service.IBedsPlusService;
import com.ruoyi.business.service.IDormitoryPlusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DormitoryPlusServiceImpl extends ServiceImpl<DormitoryPlusMapper, Dormitory> implements IDormitoryPlusService {
    @Autowired
    private DormitoryPlusMapper dormitoryPlusMapper;
    @Override
    public Double getRate() {
        return dormitoryPlusMapper.getRate();
    }

    @Override
    public List<String> bildnameList() {
        return dormitoryPlusMapper.bildnameList();
    }

    @Override
    public List<dormitoryAppTree> getroomList(String buildingname,String floor) {
        return dormitoryPlusMapper.getroomList(buildingname,floor);
    }
}
